package top.rish.converter.solon.test.wares;

import lombok.Data;
import top.rish.converter.core.annotation.EnumConverter;
import top.rish.converter.core.annotation.Kv;
import top.rish.converter.core.annotation.KvConverter;
import top.rish.converter.core.base.DictEntity;

@Data
public class UserTestEntity implements DictEntity {

    @KvConverter({
            @Kv(k="1",v="男"),
            @Kv(k="0",v="女"),
    })
    @SexDictConverter
    public int sex;

    @EnumConverter(EnumTesx.class)
    public int tx;

}
